package com.yunxi.model.account;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 帐户授信额度配置
 * </p>
 *
 * @author 
 * @since 2019-05-16
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_account_credit")
@ApiModel(value="AccountCredit对象", description="帐户授信额度配置")
public class AccountCredit implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "CREDIT_ID", type = IdType.UUID)
    private String creditId;

    @ApiModelProperty(value = "利率")
    @TableField("RATE")
    private BigDecimal rate;

    @ApiModelProperty(value = "逾期利率")
    @TableField("OVERDUE_RATE")
    private BigDecimal overdueRate;

    @ApiModelProperty(value = "额度")
    @TableField("QUOTA")
    private BigDecimal quota;

    @ApiModelProperty(value = "创建时间")
    @TableField(value ="CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value ="UPDATE_TIME", fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "状态1启用0禁用")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "天")
    @TableField("REPAID_DAY")
    private Integer repaidDay;


}
